<template>
  <el-row>
    <el-col :span="4">

      <category-tree :hub="hub"></category-tree>

    </el-col>
    <el-col :span="20">
      <base-attr :hub="hub" :attrTypeGlobal="attrTypeGlobal"></base-attr>
    </el-col>
  </el-row>
</template>

<script>
import categoryTree from '../common/categoryTree'
import attr from './baseAttrComponent/attr'
import Vue from 'vue'

export default {
  name: 'saleattr',
  components: {
    categoryTree,
    'base-attr': attr
  },
  data () {
    return {
      hub: null,
      attrTypeGlobal: null
    }
  },
  mounted () {
    this.hub = new Vue()
    this.attrTypeGlobal = 0
  }
}
</script>

<style scoped>

</style>
